package com.code.wflow.constants;

/**
 * @author ggh
 * @date 2022/11/25
 * 任务执行的状态
 */
public enum TaskFinishEnum {
    TRUE(true, "结束"),
    FALSE(false, "未结束");

    private Boolean finish;

    private String msg;

    TaskFinishEnum(Boolean finish, String msg) {
        this.finish = finish;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public Boolean isFinish() {
        return finish;
    }
}
